package com.weiz.designpatterns.abstractfactory;

public class SampleFactory extends Factory{
    public Sample creator(){
        return new SampleA();
    }
    public Sample2 creator(String name){
        return new Sample2A();
    }
}
